#ifndef _CONVERT_H_
#define _CONVERT_H_

/* Includes ------------------------------------------------------------------*/
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
/* Public typedef ------------------------------------------------------------*/
/* Public variables ----------------------------------------------------------*/
/* Public define -------------------------------------------------------------*/
/* Public macro --------------------------------------------------------------*/
/* Public function prototypes ------------------------------------------------*/
uint8_t HexCharToByte(char hexChar);
void HexStringToByteArray(char *src, char *dst, size_t length);


double Bin32ToDecimal(uint32_t data);
uint32_t FloatIntToBin32(double decimal);
uint32_t FloatDecimalToBin32(double decimal);

void EndianConvet(void *mem , size_t size);
#endif
